$(function() {

	let banner = new Swiper('.banner .swiper-container', {
		autoplay: true,
		pagination: {
			clickable :true,
			el: '.swiper-pagination',
		}
	});
	
	let ihonor = new Swiper('.index-honor .swiper-container', {
		slidesPerView : 2,  
		autoplay: true,
		navigation: {
			nextEl: '.honor-next',
			prevEl: '.honor-prev',
		},
	});
	
	$('.nav button').on('click',function(){
		$(this).next().slideToggle();
	});
	
	$("[data-fancybox]").fancybox({
		buttons: [
			"zoom",
			"download",
			"close"
		],
		animationEffect: "fade",
	});
	
	
	$('#dowebok').simplerSidebar({
		opener: '#menu',
		sidebar: {
			align: 'right',
			width: 200
		}
	});
	
	
	$('.prov_view').slide({
		effect:'left',
		titCell:'.hd li',
		mainCell:'.bd ul',
		delayTime: 200,
		trigger: "click",
		prevCell: ".prov_prev",
		nextCell: ".prov_next",
	});
	$('.prov_view').slide({
		vis:4,
		effect:'left',
		trigger:"click",
		mainCell:'.hd ul',
		prevCell: ".prov_prev",
		nextCell: ".prov_next",
	});
	
	
});
